import {
	request
} from '@/assets/api/index.js'

const persionTypeApi = () => request("GET", "/system/dict/data/type/persion_type")
const meMemorialApi = (meTtype, mmName1, pageNum) => request("GET", "/memories/meMemorial/list?meTtype=" + meTtype +
	'&meT=1&isPublic=0&mmName1=' + mmName1 + "&pageNum=" + pageNum)
const addRelationApi = (data) => request('POST', "/memories/relation", data)
const delRelationApi = (id) => request('DELETE', `/memories/relation/${id}`)

export {
	persionTypeApi,
	meMemorialApi,
	addRelationApi,
	delRelationApi,
}